package com.TP.www.po;

/**
 * @author 邱彦祥
 * 用户优惠卷
 */
public class CustomerCoupon extends Coupon {
    /**
     * 用户优惠卷id
     */
    private Integer customerCouponId;
    /**
     * 用户名
     */
    private String name;
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 店铺名
     */
    private String storeName;
    /**
     * 条件金额
     */
    private Double initialNum;
    /**
     * 抵扣金额
     */
    private Double offNum;

    public CustomerCoupon() {
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String getStoreName() {
        return storeName;
    }

    @Override
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    @Override
    public Double getInitialNum() {
        return initialNum;
    }

    @Override
    public void setInitialNum(Double initialNum) {
        this.initialNum = initialNum;
    }

    @Override
    public Double getOffNum() {
        return offNum;
    }

    @Override
    public void setOffNum(Double offNum) {
        this.offNum = offNum;
    }

    public Integer getCustomerCouponId() {
        return customerCouponId;
    }

    public void setCustomerCouponId(Integer customerCouponId) {
        this.customerCouponId = customerCouponId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CustomerCoupon{" +
                "customerCouponId=" + customerCouponId +
                ", name='" + name + '\'' +
                ", id=" + id +
                ", storeName='" + storeName + '\'' +
                ", initialNum=" + initialNum +
                ", offNum=" + offNum +
                '}';
    }
}
